package au.org.nh.dao;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "PATIENTS"/*
						 * , uniqueConstraints = { @UniqueConstraint(columnNames
						 * = { "name" }) }
						 */)
public class PatientInfo {

	private Long id;

	private String completedBy;

	private String ifCarer;

	private String formId;

	private String campus;

	private String previousPsychHistory;

	private String referredTo;

	private String fears;

	private String inPatientLoc;

	private String contactDetails;

	private String inOutPatient;

	private String interpreterUsed;

	private String patientDeclinedScreening;

	private String screeningCompletedDate;

	private String dateOfBirth;

	private String cancerTumourStage;

	private String insurance;

	private String dealingWithChildren;

	private String faxToGP;

	private String familyHealthIssues;

	private String tinglingHandFeet;

	private String stressfullLifeHistory;

	private String housing;

	private String careOfDependents;

	private String transportation;

	private String workOrSchool;

	private String depression;

	private String finance;

	private String dealingWithPartner;

	private String cancerTumourStream;

	private String youngerThan55;

	private String maleOrFemale;

	private String childCare;

	private String gpFollowUp;

	private String abilityToHaveChildren;

	private String firstName;

	private String lastName;

	private String highAlcoholDrugIntake;

	private String treatmentDecisions;

	private String anxietyOrDepression;

	private String outPatientLoc;

	private String language;

	private String designationOfStaff;

	private String comment;

	public PatientInfo() {

	}

	@Id
	@GeneratedValue
	@Column(name = "PATIENT_ID")
	public Long getId() {
		return id;
	}

	public void setId(final Long id) {
		this.id = id;
	}

	public String getCompletedBy() {
		return completedBy;
	}

	public void setCompletedBy(final String completedBy) {
		this.completedBy = completedBy;
	}

	public String getIfCarer() {
		return ifCarer;
	}

	public void setIfCarer(final String ifCarer) {
		this.ifCarer = ifCarer;
	}

	public String getFormId() {
		return formId;
	}

	public void setFormId(final String formId) {
		this.formId = formId;
	}

	public String getCampus() {
		return campus;
	}

	public void setCampus(final String campus) {
		this.campus = campus;
	}

	public String getPreviousPsychHistory() {
		return previousPsychHistory;
	}

	public void setPreviousPsychHistory(final String previousPsychHistory) {
		this.previousPsychHistory = previousPsychHistory;
	}

	public String getReferredTo() {
		return referredTo;
	}

	public void setReferredTo(final String referredTo) {
		this.referredTo = referredTo;
	}

	public String getFears() {
		return fears;
	}

	public void setFears(final String fears) {
		this.fears = fears;
	}

	public String getInPatientLoc() {
		return inPatientLoc;
	}

	public void setInPatientLoc(final String inPatientLoc) {
		this.inPatientLoc = inPatientLoc;
	}

	public String getContactDetails() {
		return contactDetails;
	}

	public void setContactDetails(final String contactDetails) {
		this.contactDetails = contactDetails;
	}

	public String getInOutPatient() {
		return inOutPatient;
	}

	public void setInOutPatient(final String inOutPatient) {
		this.inOutPatient = inOutPatient;
	}

	public String getInterpreterUsed() {
		return interpreterUsed;
	}

	public void setInterpreterUsed(final String interpreterUsed) {
		this.interpreterUsed = interpreterUsed;
	}

	public String getPatientDeclinedScreening() {
		return patientDeclinedScreening;
	}

	public void setPatientDeclinedScreening(
			final String patientDeclinedScreening) {
		this.patientDeclinedScreening = patientDeclinedScreening;
	}

	public String getScreeningCompletedDate() {
		return screeningCompletedDate;
	}

	public void setScreeningCompletedDate(final String screeningCompletedDate) {
		this.screeningCompletedDate = screeningCompletedDate;
	}

	public String getDateOfBirth() {
		return dateOfBirth;
	}

	public void setDateOfBirth(final String dateOfBirth) {
		this.dateOfBirth = dateOfBirth;
	}

	public String getCancerTumourStage() {
		return cancerTumourStage;
	}

	public void setCancerTumourStage(final String cancerTumourStage) {
		this.cancerTumourStage = cancerTumourStage;
	}

	public String getInsurance() {
		return insurance;
	}

	public void setInsurance(final String insurance) {
		this.insurance = insurance;
	}

	public String getDealingWithChildren() {
		return dealingWithChildren;
	}

	public void setDealingWithChildren(final String dealingWithChildren) {
		this.dealingWithChildren = dealingWithChildren;
	}

	public String getFaxToGP() {
		return faxToGP;
	}

	public void setFaxToGP(final String faxToGP) {
		this.faxToGP = faxToGP;
	}

	public String getFamilyHealthIssues() {
		return familyHealthIssues;
	}

	public void setFamilyHealthIssues(final String familyHealthIssues) {
		this.familyHealthIssues = familyHealthIssues;
	}

	public String getTinglingHandFeet() {
		return tinglingHandFeet;
	}

	public void setTinglingHandFeet(final String tinglingHandFeet) {
		this.tinglingHandFeet = tinglingHandFeet;
	}

	public String getStressfullLifeHistory() {
		return stressfullLifeHistory;
	}

	public void setStressfullLifeHistory(final String stressfullLifeHistory) {
		this.stressfullLifeHistory = stressfullLifeHistory;
	}

	public String getHousing() {
		return housing;
	}

	public void setHousing(final String housing) {
		this.housing = housing;
	}

	public String getCareOfDependents() {
		return careOfDependents;
	}

	public void setCareOfDependents(final String careOfDependents) {
		this.careOfDependents = careOfDependents;
	}

	public String getTransportation() {
		return transportation;
	}

	public void setTransportation(final String transportation) {
		this.transportation = transportation;
	}

	public String getWorkOrSchool() {
		return workOrSchool;
	}

	public void setWorkOrSchool(final String workOrSchool) {
		this.workOrSchool = workOrSchool;
	}

	public String getDepression() {
		return depression;
	}

	public void setDepression(final String depression) {
		this.depression = depression;
	}

	public String getFinance() {
		return finance;
	}

	public void setFinance(final String finance) {
		this.finance = finance;
	}

	public String getDealingWithPartner() {
		return dealingWithPartner;
	}

	public void setDealingWithPartner(final String dealingWithPartner) {
		this.dealingWithPartner = dealingWithPartner;
	}

	public String getCancerTumourStream() {
		return cancerTumourStream;
	}

	public void setCancerTumourStream(final String cancerTumourStream) {
		this.cancerTumourStream = cancerTumourStream;
	}

	public String getYoungerThan55() {
		return youngerThan55;
	}

	public void setYoungerThan55(final String youngerThan55) {
		this.youngerThan55 = youngerThan55;
	}

	public String getMaleOrFemale() {
		return toCamelCase(maleOrFemale);
	}

	private String toCamelCase(final String maleOrFemale2) {
		if ("Male".equalsIgnoreCase(maleOrFemale2)) {
			return "Male";
		} else {
			return "Female";
		}
	}

	public void setMaleOrFemale(final String maleOrFemale) {
		this.maleOrFemale = maleOrFemale;
	}

	public String getChildCare() {
		return childCare;
	}

	public void setChildCare(final String childCare) {
		this.childCare = childCare;
	}

	public String getGpFollowUp() {
		return gpFollowUp;
	}

	public void setGpFollowUp(final String gpFollowUp) {
		this.gpFollowUp = gpFollowUp;
	}

	public String getAbilityToHaveChildren() {
		return abilityToHaveChildren;
	}

	public void setAbilityToHaveChildren(final String abilityToHaveChildren) {
		this.abilityToHaveChildren = abilityToHaveChildren;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(final String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(final String lastName) {
		this.lastName = lastName;
	}

	public String getHighAlcoholDrugIntake() {
		return highAlcoholDrugIntake;
	}

	public void setHighAlcoholDrugIntake(final String highAlcoholDrugIntake) {
		this.highAlcoholDrugIntake = highAlcoholDrugIntake;
	}

	public String getTreatmentDecisions() {
		return treatmentDecisions;
	}

	public void setTreatmentDecisions(final String treatmentDecisions) {
		this.treatmentDecisions = treatmentDecisions;
	}

	public String getAnxietyOrDepression() {
		return anxietyOrDepression;
	}

	public void setAnxietyOrDepression(final String anxietyOrDepression) {
		this.anxietyOrDepression = anxietyOrDepression;
	}

	public String getOutPatientLoc() {
		return outPatientLoc;
	}

	public void setOutPatientLoc(final String outPatientLoc) {
		this.outPatientLoc = outPatientLoc;
	}

	public String getLanguage() {
		return language;
	}

	public void setLanguage(final String language) {
		this.language = language;
	}

	public String getDesignationOfStaff() {
		return designationOfStaff;
	}

	public void setDesignationOfStaff(final String designationOfStaff) {
		this.designationOfStaff = designationOfStaff;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getComment() {
		return comment;
	}

	@Override
	public String toString() {
		final StringBuilder builder = new StringBuilder();
		builder.append("PatientInfo [completedBy=");
		builder.append(completedBy);
		builder.append(", ifCarer=");
		builder.append(ifCarer);
		builder.append(", formId=");
		builder.append(formId);
		builder.append(", campus=");
		builder.append(campus);
		builder.append(", previousPsychHistory=");
		builder.append(previousPsychHistory);
		builder.append(", referredTo=");
		builder.append(referredTo);
		builder.append(", fears=");
		builder.append(fears);
		builder.append(", inPatientLoc=");
		builder.append(inPatientLoc);
		builder.append(", contactDetails=");
		builder.append(contactDetails);
		builder.append(", inOutPatient=");
		builder.append(inOutPatient);
		builder.append(", interpreterUsed=");
		builder.append(interpreterUsed);
		builder.append(", patientDeclinedScreening=");
		builder.append(patientDeclinedScreening);
		builder.append(", screeningCompletedDate=");
		builder.append(screeningCompletedDate);
		builder.append(", dateOfBirth=");
		builder.append(dateOfBirth);
		builder.append(", cancerTumourStage=");
		builder.append(cancerTumourStage);
		builder.append(", insurance=");
		builder.append(insurance);
		builder.append(", dealingWithChildren=");
		builder.append(dealingWithChildren);
		builder.append(", faxToGP=");
		builder.append(faxToGP);
		builder.append(", familyHealthIssues=");
		builder.append(familyHealthIssues);
		builder.append(", tinglingHandFeet=");
		builder.append(tinglingHandFeet);
		builder.append(", stressfullLifeHistory=");
		builder.append(stressfullLifeHistory);
		builder.append(", housing=");
		builder.append(housing);
		builder.append(", careOfDependents=");
		builder.append(careOfDependents);
		builder.append(", transportation=");
		builder.append(transportation);
		builder.append(", workOrSchool=");
		builder.append(workOrSchool);
		builder.append(", depression=");
		builder.append(depression);
		builder.append(", finance=");
		builder.append(finance);
		builder.append(", dealingWithPartner=");
		builder.append(dealingWithPartner);
		builder.append(", cancerTumourStream=");
		builder.append(cancerTumourStream);
		builder.append(", youngerThan55=");
		builder.append(youngerThan55);
		builder.append(", maleOrFemale=");
		builder.append(maleOrFemale);
		builder.append(", childCare=");
		builder.append(childCare);
		builder.append(", gpFollowUp=");
		builder.append(gpFollowUp);
		builder.append(", abilityToHaveChildren=");
		builder.append(abilityToHaveChildren);
		builder.append(", firstName=");
		builder.append(firstName);
		builder.append(", lastName=");
		builder.append(lastName);
		builder.append(", highAlcoholDrugIntake=");
		builder.append(highAlcoholDrugIntake);
		builder.append(", treatmentDecisions=");
		builder.append(treatmentDecisions);
		builder.append(", anxietyOrDepression=");
		builder.append(anxietyOrDepression);
		builder.append(", outPatientLoc=");
		builder.append(outPatientLoc);
		builder.append(", language=");
		builder.append(language);
		builder.append(", designationOfStaff=");
		builder.append(designationOfStaff);
		builder.append("]");
		return builder.toString();
	}

}
